// 全局配置

const env = process.env.VUE_APP_ENV;

let baseUrl = '';
switch (env) {
  case 'dev':
    baseUrl =
      'https://www.fastmock.site/mock/cdf48c0c9ff93a473b5ac40a4676feae/api';
    break;

  case 'test':
    baseUrl = 'http://test.com';
    break;

  case 'prod':
    baseUrl = 'http://prod.com';
    break;

  default:
    break;
}

export default {
  title: '测试标题',
  baseUrl,
};
